package com.chang.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chang.product.entity.AttrEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author chang
 * @email 2045807586@qq.com
 * @date 2024-01-02 16:10:53
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    // 在指定的所有属性集合里挑出检索属性
    List<Long> selectSearchAttrIds(@Param("attrIds") List<Long> attrIds);
}
